<?php
/**
 * @date        <!-- phpDesigner :: Timestamp [08-07-2010 01:15:15] -->
 * @filesource  module.login.php
 * @package     WebCms
 * @copyright	Copyright (C) 2010
 * @author      Sérgio 'Horizak' Alves
 */

// Sem acesso directo
defined('_WEXEC') or die('Restricted access');

require(dirname(__file__).DS.'class.login.php');

// Inclui o ficheiro de idioma
$this->_getLang('module.login');

$this->_loadModule('Login');

if ($this->obj['user']->logged()) $this->mod['login']->show('module.logged.tpl');
else  $this->mod['login']->show('module.login.tpl');
?>